// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo

/* DummyControl.cs
 * Ars Magna project, http://arsmagna.ru
 */

#region Using directives

using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

#endregion

#nullable enable

namespace AM.Windows.Forms.Docking;

[ToolboxItem (false)]
internal sealed class DummyControl : Control
{
    public DummyControl()
    {
        SetStyle (ControlStyles.Selectable, false);
        ResetBackColor();
    }

    public override void ResetBackColor()
    {
        BackColor = SystemColors.ControlLight;
    }
}